import request from '@/utils/request'

export function getMsg(admin_id, token) {
  return request({
    url: '/_adminMessage/get',
    method: 'post',
    data: {
      admin_id,
      token
    }
  })
}

export function deleteMsg(admin_id, token, msg_id) {
  return request({
    url: '/_adminMessage/delete',
    method: 'post',
    data: {
      msg_id,
      admin_id,
      token
    }
  })
}
